import requests

from Testtongzhi.venv import config


class addAPI():
    def __init__(self):
        self.add_url= config.BASE_URL + "/system/notice/add"

    def add_all(self,cookie,add_data):
        return requests.post(url=self.add_url,cookies=cookie,data=add_data)
